Type alias: NodeHTTPCreateContextOption<TRouter, TRequest, TResponse>
NodeHTTPCreateContextOption: <
TRouter
,TRequest
,TResponse
>object
extendsinferRouterContext
<TRouter
> ? {createContext
:NodeHTTPCreateContextFn
<TRouter
,TRequest
,TResponse
>;} : {createContext
:NodeHTTPCreateContextFn
<TRouter
,TRequest
,TResponse
>;}
Type parameters
Parameter |
---|
TRouter extends AnyTRPCRouter |
TRequest |
TResponse |
Source
packages/server/src/adapters/node-http/types.ts:43
Generated using TypeDoc and typedoc-plugin-markdown